package com.weishi.project.training.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weishi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 心率
 */
@Data
@TableName("tbl_heart_rate")
public class HeartRate implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 心率表 （主键 id） */
    private Integer id;
    
    /** 航道表 id */
    @Excel(name = "航道表 id")
    private Integer channelId;
    
    /** 运动员 id  */
    @Excel(name = "运动员 id ")
    private Integer sportsmanId;
    
    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;
    
    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;
    
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;
    
    /** 训练日 id  */
    @Excel(name = "训练日 id ")
    private Integer trainingDayId;

    @Excel(name = "分组 id ")
    private Integer groupId;

    @Excel(name = "分组名称")
    private String groupName;

    @Excel(name = "心率")
    private Integer hr;

    @Excel(name = "时间戳")
    @JsonFormat(pattern = "hh:mm:ss")
    private Date time;

    //设备ID
    private String deviceId;

    private Integer heartRateCountId;

}